import{i as g,p as f,h as i}from"./k65MiU9Nagutd.js";const m=f("app-context");function $(){const t=g("app");if(!t)throw m.error("App context not found"),new Error("App context not found");return t}const l=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),C=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,o)=>o?o.toUpperCase():r.toLowerCase()),x=t=>{const e=C(t);return e.charAt(0).toUpperCase()+e.slice(1)},k=(...t)=>t.filter((e,r,o)=>!!e&&e.trim()!==""&&o.indexOf(e)===r).join(" ").trim(),w=t=>t==="";var n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};const A=({name:t,iconNode:e,absoluteStrokeWidth:r,"absolute-stroke-width":o,strokeWidth:c,"stroke-width":a,size:s=n.width,color:d=n.stroke,...p},{slots:u})=>i("svg",{...n,...p,width:s,height:s,stroke:d,"stroke-width":w(r)||w(o)||r===!0||o===!0?Number(c||a||n["stroke-width"])*24/Number(s):c||a||n["stroke-width"],class:k("lucide",p.class,...t?[`lucide-${l(x(t))}-icon`,`lucide-${l(t)}`]:["lucide-icon"])},[...e.map(h=>i(...h)),...u.default?[u.default()]:[]]);const j=(t,e)=>(r,{slots:o,attrs:c})=>i(A,{...c,...r,iconNode:e,name:t},o);export{j as c,$ as g};